package com.ningkang.auth.service;

import com.ningkang.auth.domain.LoginParam;
import com.ningkang.auth.domain.LoginResponse;
import com.ningkang.common.domain.ums.UserVo;

public interface AuthService {
    /**
     * 登录
     * @param loginParam
     * @return
     */
    LoginResponse login(LoginParam loginParam);
    /* *
     * @Title: getUserInfo
     * @Author: DELL
     * @Date: 2024-10-18 10:30:29
     * @Params: []
     * @Return: Result<UserVo>
     * @Description: 获取登录信息
     */
    UserVo getUserInfo();

    /* *
     * @Title: logout
     * @Author: DELL
     * @Date: 2024-10-18 10:31:00
     * @Params: []
     * @Return: Result
     * @Description: 登出功能
     */
    void logout();
}
